Ext.onReady(function(){

	var store = new Ext.data.JsonStore({
		url : 'JsonData1.json',//请求取到数据的url
		idProperty: 'id',
	    root: 'rows',
	    fields: [
	    	{name : 'id', type : 'string', mapping : 'userId'},
	        {name: 'name', type : 'string', mapping : 'userName'},
	        {name: 'job', type : 'string', mapping : 'userJob'}
	    ]
	});
	
	store.on('load', function(){
		alert(this.getCount());
		for(var i=0; i<this.getCount(); i++){
			var record = this.getAt(i);
			alert(record.get('id'));
			alert(record.get('name'));
			alert(record.get('job'));
		}
	}, store);

	store.load();
	
});